﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services;
using System.Web.Script.Services;
using Gacn.ControleAlunos.Library.Business;
using Gacn.ControleAlunos.Library.Entities;


namespace Gacn.ControleAlunos.WebApplication.Services
{
    /// <summary>
    /// Summary description for Presenca
    /// </summary>
    [WebService(Namespace = "http://hp.gacn.com.br/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    [System.ComponentModel.ToolboxItem(false)]
    [System.Web.Script.Services.ScriptService]
    public class Presenca : System.Web.Services.WebService
    {

        [WebMethod][ScriptMethod(ResponseFormat = ResponseFormat.Json)]
        public Boolean EnviaPresencas(List<PresencaEntity> presencas)
        {
            return PresencaBiz.SalvaPresenca(presencas);
        }

    }
}
